<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:tei="http://www.tei-c.org/ns/1.0" version="2.0">
    <xd:doc xmlns:xd="http://www.oxygenxml.com/ns/doc/xsl" scope="stylesheet">
        <xd:desc>
            <xd:p><xd:b>Created on:</xd:b>26 April 2012</xd:p>
            <xd:p><xd:b>Authors:</xd:b>Amber Camus and Trey Conatser</xd:p>
            <xd:p/>
        </xd:desc>
    </xd:doc>
    <xsl:include href="AtkinsonCommon.xsl"/>
    <xsl:template match="/">
        <html>
            
            <title>
                <xsl:value-of select="/tei:TEI/tei:teiHeader/tei:fileDesc/tei:titleStmt/tei:title"/>
            </title>
            
            <style type="text/css">
              <xsl:value-of select="bodyRule"/>
              body {
                   margin: 30px;
                   background-color: #FFFFFF;
                   font-family: Garamond, serif;
                   width: 800px;
               }
               .bodyNav {
                   float : left;
                   width : 100px;
                   text-align : right;
                   left : 50px;
               }
               .bodyMain {
                   float : left;
                   width: 500px;
                   text-align : left;
                   line-height : 140%;
                   left : 230px;
                   top: 163px;
                   position : absolute;
               }
               div.pagebreak {
                   margin-top : 25px;
                   margin-bottom : 0px;
                   text-align : center;
               }
               hr {
                   background-color : #030303;
                   color : #888833;
                   clear : left;
                   margin-top : 3px;
                   margin-bottom : 3px;
               }
               p {
                   line-height : 140%;
               }
               p.hang25 {
                   text-indent : -25px;
                   padding-left : 25px;
               }
               blockquote {
                   line-height : 140%;
                   text-align : justify;
               }
               sup {
                   line-height : 10px;
                   font-size : 10px;
               }
               h1, h2, h3, p {
                   margin-top : 5px;
                   margin-bottom : 5px;
                   font-weight : normal;
               }
               h1 {
                   font-family : Garamond, serif;
                   font-size : 24pt;
                   font-style : normal;
               }
               h2 {
                   font-family : Garamond, serif;
                   font-size : 18pt;
                   font-style : normal;
               }
               h3 {
                   font-family : Garamond, serif;
                   font-size : 14pt;
                   font-style : normal;
               }
               .masthead h2 {
                   margin-left : 95px;
               }
               .masthead h3 {
                   margin-left : 200px;
               }
               .masthead img {
                   float: left;
                   padding: 3px;
                   margin-top: 3px;
                   margin-bottom: 3px;
                   left : 570px;
                   top : 60px;
                   position : absolute;
               }
               .bodyNav img {
                   float: left;
                   padding: 3px;
                   margin-top: 3px;
                   margin-bottom: 3px;
                   left : 30px;
                   top : 380px;
                   position : absolute;
               }
               img {
                   float: left;
                   padding: 5px;
                   margin-top: 5px;
                   margin-bottom: 5px;
               }
                div.fl_img_right {
                   float : right;
                   text-align : center;
                   margin : 5px 5px 5px 5px;
               }
               .ProjectTitle {
                   font-family : Garamond, serif;
                   font-size : 16pt;
                   font-style : normal;
                   font-weight : normal;
                   line-height : 18pt;
                }
                a:link {
                   text-decoration : none;
                   color : #000000;
                }
                a:visited {
                   color : #000000;
                }
            </style>
            
            <head>
                <body>
                    <div class="masthead">
                        <h1><i>A Poetical Epistle from Marie Antoinette</i>, by Thomas Atkinson</h1>
                        <h2>An Electronic Scholarly Edition</h2>
                        <h3>Edited by Amber Camus and Trey Conatser</h3>
                        <img src="http://upload.wikimedia.org/wikipedia/commons/e/eb/Women%27s_March_on_Versailles01.jpg" width="180" height="55" alt="October Days March"/>
                        <hr size="3px"/><hr size="4px"/>
                    </div>
                </body>
            </head>
            <body>
                <div class="body">
                    <div class="bodyNav">
                        <p><br/><b><span style="font-variant: small-caps;">Navigation</span></b></p>
                        <p><br/>
                            <a href="AtkinsonAbout.html" title="About the Edition"><span style="font-variant: small-caps;">About</span></a><br/>
                            <a href="AtkinsonIntro.html" title="Introduction to the Edition"><span style="font-variant: small-caps;">Introduction</span></a><br/>
                            <a href="AtkinsonText.html" title="Text of the Edition"><span style="font-variant: small-caps;">The Poem</span></a><br/>
                            <a href="AtkinsonAppendices.html" title="Appendices to the Edition"><span style="font-variant: small-caps;">Appendices</span></a><br/>
                            <a href="AtkinsonWorksCited.html" title="Works Cited"><span style="font-variant: small-caps;">Works Cited</span></a><br/>
                            <a href="AtkinsonResources.html" title="Reading and Resources"><span style="font-variant: small-caps;">Resources</span></a>
                        </p>
                        <p>
                            <img src="http://upload.wikimedia.org/wikipedia/commons/2/20/Alexander_Kucharski%2C_La_Reine_Marie-Antoinette_%28années_1790%29.jpg" width="100" height="120" alt="Marie Antoinette by Alexander Kucharsky 1791"/>
                        </p>
                        
                    </div>
                    <div class="bodyMain">
                        <a name="top"></a>
                        <p><h2><b>Works Cited</b></h2></p>
                        <hr size="2px"/>
                        <span style="float:right">[<a href="https://www.zotero.org/groups/atkinson_epistle/items/collectionKey/XSGA3M6W">zotero</a>]</span>
                        <br/><br/>
                            <xsl:for-each select="//tei:listBibl[@xml:id='worksCited']/tei:bibl">
                                <xsl:sort select="@n"></xsl:sort>
                                <p class="hang25"><a>
                                    <xsl:attribute name="name"><xsl:value-of select="@xml:id"/></xsl:attribute></a>
                                    <xsl:apply-templates/>
                                    <xsl:if test="descendant::tei:figure">
                                        [<a><xsl:attribute name="href"><xsl:value-of select="descendant::tei:graphic/@url"/></xsl:attribute>link</a>]
                                    </xsl:if></p><br/>
                            </xsl:for-each>
                        <br/>
                        <p align="right">[<a href="#top">top</a>]</p><br/><br/>
                    </div>
                </div>
            </body>
        </html>
    </xsl:template>

</xsl:stylesheet>